package com.ruoyi.archives.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 老师个人信息对象 sys_teacher_archives
 * 
 * @author gzhank
 * @date 2022-03-02
 */
public class SysTeacherArchives extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 账号 */
    @Excel(name = "账号")
    private String arcNum;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 民族 */
    @Excel(name = "民族")
    private String national;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String personNumber;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phoneNumber;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hiredate;

    /** 最高学历 */
    @Excel(name = "最高学历")
    private String education;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setArcNum(String arcNum) 
    {
        this.arcNum = arcNum;
    }

    public String getArcNum() 
    {
        return arcNum;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setNational(String national) 
    {
        this.national = national;
    }

    public String getNational() 
    {
        return national;
    }
    public void setPersonNumber(String personNumber) 
    {
        this.personNumber = personNumber;
    }

    public String getPersonNumber() 
    {
        return personNumber;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setHiredate(Date hiredate) 
    {
        this.hiredate = hiredate;
    }

    public Date getHiredate() 
    {
        return hiredate;
    }
    public void setEducation(String education) 
    {
        this.education = education;
    }

    public String getEducation() 
    {
        return education;
    }
    public void setNativePlace(String nativePlace) 
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace() 
    {
        return nativePlace;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("arcNum", getArcNum())
            .append("userName", getUserName())
            .append("name", getName())
            .append("sex", getSex())
            .append("national", getNational())
            .append("personNumber", getPersonNumber())
            .append("phoneNumber", getPhoneNumber())
            .append("title", getTitle())
            .append("hiredate", getHiredate())
            .append("education", getEducation())
            .append("nativePlace", getNativePlace())
            .toString();
    }
}
